[INFO] fetching crate tokio 0.2.22...
[INFO] checking tokio-0.2.22 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate tokio 0.2.22 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate tokio 0.2.22 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tokio 0.2.22
[INFO] finished tweaking crates.io crate tokio 0.2.22
[INFO] tweaked toml for crates.io crate tokio 0.2.22 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55b7d6076d8094978fa365a008e5efae281d61f2c294f005ed64731041694a1a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "55b7d6076d8094978fa365a008e5efae281d61f2c294f005ed64731041694a1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55b7d6076d8094978fa365a008e5efae281d61f2c294f005ed64731041694a1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55b7d6076d8094978fa365a008e5efae281d61f2c294f005ed64731041694a1a", kill_on_drop: false }`
[INFO] [stdout] 55b7d6076d8094978fa365a008e5efae281d61f2c294f005ed64731041694a1a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7a13512bad4304a7e48b5e9d573a19d769889a1db0ce77beae4fec051303c14
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d7a13512bad4304a7e48b5e9d573a19d769889a1db0ce77beae4fec051303c14", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking tokio v0.2.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `broken_intra_doc_links`
[INFO] [stdout]   --> src/lib.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | #![deny(intra_doc_link_resolution_failure)]
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `broken_intra_doc_links`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling syn v1.0.40
[INFO] [stderr]     Checking getrandom v0.1.15
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tokio-test v0.2.1
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking rusty-fork v0.2.2
[INFO] [stderr]     Checking proptest v0.9.6
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures-test v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream`
[INFO] [stdout]  --> tests/stream_empty.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt};
[INFO] [stdout]   |            ^^^^^^   ^^^^ no `stream` in the root
[INFO] [stdout]   |            |
[INFO] [stdout]   |            could not find `stream` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]  --> tests/stream_empty.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[tokio::test]
[INFO] [stdout]   |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio::stream`, `tokio::stream`
[INFO] [stdout]  --> tests/stream_chain.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::stream::{self, Stream, StreamExt};
[INFO] [stdout]   |            ^^^^^^   ^^^^ no `stream` in the root
[INFO] [stdout]   |            |
[INFO] [stdout]   |            could not find `stream` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::sync::mpsc`
[INFO] [stdout]  --> tests/stream_chain.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::sync::mpsc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ no `mpsc` in `sync`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]  --> tests/stream_chain.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[tokio::test]
[INFO] [stdout]   |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]   --> tests/stream_chain.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[tokio::test]
[INFO] [stdout]    |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `stream` in `tokio`
[INFO] [stdout]   --> tests/stream_chain.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |     impl tokio::stream::Stream for Monster {
[INFO] [stdout]    |                 ^^^^^^ could not find `stream` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `sync` is private
[INFO] [stdout]    --> tests/stream_chain.rs:2:12
[INFO] [stdout]     |
[INFO] [stdout] 2   | use tokio::sync::mpsc;
[INFO] [stdout]     |            ^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `sync` is defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:384:5
[INFO] [stdout]     |
[INFO] [stdout] 384 |     mod sync;
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::io::AsyncReadExt`
[INFO] [stdout]  --> tests/read_to_string.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio::io::AsyncReadExt;
[INFO] [stdout]   |     ^^^^^^^^^^^------------
[INFO] [stdout]   |     |          |
[INFO] [stdout]   |     |          help: a similar name exists in the module: `AsyncRead`
[INFO] [stdout]   |     no `AsyncReadExt` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]  --> tests/read_to_string.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[tokio::test]
[INFO] [stdout]   |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]   --> tests/read_to_string.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[tokio::test]
[INFO] [stdout]    |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `tokio`
[INFO] [stdout]   --> tests/read_to_string.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[tokio::test]
[INFO] [stdout]    |          ^^^^ could not find `test` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]  --> tests/stream_empty.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for _ in 0..2 {
[INFO] [stdout]   |              ^ cannot infer type for type `{integer}`
[INFO] [stdout]   |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]  --> tests/stream_empty.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |         assert_eq!(None, stream.next().await);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]  --> tests/stream_empty.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for _ in 0..2 {
[INFO] [stdout]   |                 ^ cannot infer type for type `{integer}`
[INFO] [stdout]   |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]  --> tests/stream_empty.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |         assert_eq!(None, stream.next().await);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]  --> tests/stream_empty.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for _ in 0..2 {
[INFO] [stdout]   |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]   |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]  --> tests/stream_empty.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |         assert_eq!(None, stream.next().await);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]  --> tests/stream_empty.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     for _ in 0..2 {
[INFO] [stdout]   |              ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]   |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]  --> tests/stream_empty.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 |         assert_eq!(None, stream.next().await);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/read_to_string.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let data = vec![0xff, 0xff, 0xff];
[INFO] [stdout]    |         ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/read_to_string.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/read_to_string.rs:11:45
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |                                             ^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/read_to_string.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/read_to_string.rs:11:45
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/read_to_string.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context
[INFO] [stdout]   --> tests/read_to_string.rs:11:40
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}`
[INFO] [stdout]    |
[INFO] [stdout] note: the type is part of the `async fn` body because of this `await`
[INFO] [stdout]   --> tests/read_to_string.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d7a13512bad4304a7e48b5e9d573a19d769889a1db0ce77beae4fec051303c14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7a13512bad4304a7e48b5e9d573a19d769889a1db0ce77beae4fec051303c14", kill_on_drop: false }`
[INFO] [stdout] d7a13512bad4304a7e48b5e9d573a19d769889a1db0ce77beae4fec051303c14
